package com.xxiongb.business.repository.entity;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="languages")
public class Language {
	private String id;
	private int lanIndex = -1;
	private String name;
	private String description;
	private boolean isDefault = false;
	private int appIndex = -1;
	
	private int version = 0;

	public String getId() {
		return id;
	}
	
	public int getLanIndex() {
		return lanIndex;
	}

	public void setLanIndex(int lanIndex) {
		this.lanIndex = lanIndex;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean isDefault() {
		return isDefault;
	}

	public void setDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public int getAppIndex() {
		return appIndex;
	}

	public void setAppIndex(int appIndex) {
		this.appIndex = appIndex;
	}
}
